﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Reflection;

namespace CommandEvent
{
    public class CommandServiceConfig
    {
        public static string Url()
        {
            var appConfig = ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().Location);
            string url = appConfig.AppSettings.Settings["commandServiceUrl"].Value;
            return url;
        }
    }
}
